import Vue from "vue";
import App from "./App.vue";
import router from "./router";

import axios from "./utils/request";

//Tabbar底部导航栏
import { Tabbar, TabbarItem, NavBar, Image as VanImage,Col,Row,Cell,CellGroup,Icon,Search} from "vant";

Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(NavBar);
Vue.use(VanImage);
Vue.use(Col);
Vue.use(Row);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Icon);
Vue.use(Search)

import "@/mobile/flexible"; // 适配
import "@/styles/reset.css"; // 初始化样式

// 挂载到原型上
Vue.prototype.$axios = axios;

Vue.config.productionTip = false;

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
